package com.wangce.entity;

import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * @author lovefan 
 * @create 2021-12-03 10:26 
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {

	/**
	 * table name:id
	 * table type:int(11)
	 * table comment:主键
	 */
	private Integer id;

	/**
	 * table name:text
	 * table type:varchar(20)
	 * table comment:菜单名
	 */
	private String text;

	/**
	 * table name:href
	 * table type:varchar(50)
	 * table comment:地址
	 */
	private String href;

	/**
	 * table name:pid
	 * table type:int(11)
	 * table comment:父级id
	 */
	private Integer pid;

	/**
	 * table name:nodes
	 * table type:int(11)
	 * table comment:节点
	 */
	private List<Menu> nodes;
}
